package com.itheimma.service.db;

import com.itheima.domain.db.Question;

public interface QuestionService {

    //根据用户id查询问题，用户id从token中获取
    Question findById(Long userId);

    //新增
    void save(Question question);

    //修改
    void update(Question question);
}
